#!/bin/bash
cd /data/esb-center/bin
str=`bash KingyeaESB.sh status | grep 'is running'`
if [ "$str" == "" ] ; then
	file='/data/esb-center/var/esb.lock'
	if [ -f "$file" ]; then
	bash KingyeaESB.sh restart
	
	fi
fi
